/*设置页面初始样式*/
body{
	font-size: 12px;
	color: #000000;
	font-family:"Microsoft YaHei","微软雅黑","宋体";
	overflow-x: hidden;
}
a{
	color: #000000;
	text-decoration:none;
}
a:hover{
	color: #182f8f;
	text-decoration:underline;
}


/*公共样式,样式确定后就不能再增加或删除*/
.auto{
	width: 1200px;
	margin: 0 auto;
}
/*隐藏导航*/
.ydnav{display: none;}
/*网站导航*/
.top{height: 110px;}
.top .logo{width: 360px; height: 40px; margin-top: 35px;}
.top .wxgzh{width: 250px; height: 70px; margin-top: 20px; font-size: 14px; line-height: 35px; background: url(../images/wxgzh.gif) no-repeat right;}
.nav{width:100%; height: 50px; background-color: #182f8f;}
.nav ul li{width:130px; height: 50px; line-height: 50px; font-size: 16px; text-align: center; float: left;}
.nav ul li.cur{background-color: #e74641}
.nav ul li a{color: #fff}
.nav ul li a:hover{color: #e74641}
.nav ul li.cur a:hover{color: #fff}

/*网站版权*/
.footerbg{width: 100%;height: 110px; margin-top:50px; background-color: #182f8f;overflow: hidden;}
.footerbg .footer{line-height: 26px; margin-top: 30px; text-align: center; color: #fff; font-size: 14px;}

/*电脑自适配*/
@media (min-width: 981px ) and (max-width: 1200px) {
	/*公共样式,样式确定后就不能再增加或删除*/
	.auto{
		width: 12rem;
		margin: 0 auto;
	}	
	/*网站导航*/
	.top{height: 110px;}
	.top .logo{width: 360px; height: 40px; margin-top: 35px; margin-left: 10px;}
	.top .wxgzh{width: 250px; height: 70px; margin-top: 20px; margin-right: 10px; font-size: 14px; line-height: 35px; }
	.nav{width:100%; height: 50px; }
	.nav ul li{width:130px; height: 50px; line-height: 50px; font-size: 16px; text-align: center; float: left;}

	/*网站版权*/
	.footerbg{width: 100%;height: 110px; margin-top:40px; background-color: #182f8f;overflow: hidden;}
	.footerbg .footer{line-height: 26px; margin-top: 30px; text-align: center; color: #fff; font-size: 14px;}	
}
/* 小屏幕（平板，大于641px , 小于 980px） */
@media (min-width: 641px ) and (max-width: 980px) {
	/*公共样式,样式确定后就不能再增加或删除*/
	.auto{
		width: 12rem;
		margin: 0 auto;
	}	
	/*网站导航*/
	.top{height: 95px;}
	.top .logo{width: 300px; height: 33px; margin-top: 30px; margin-left: 10px;}
	.top .logo img{width: 300px; height: 33px;}	
	.top .wxgzh{width: 209px; height: 50px; margin-top: 20px; margin-right: 10px; font-size: 12px; line-height: 25px; background: url(../images/wxgzhipd.gif) no-repeat right;}
	.nav{width:100%; height: 50px; }
	.nav ul li{width:104px; height: 50px; line-height: 50px; font-size: 14px; text-align: center; float: left;}

	/*网站版权*/
	.footerbg{width: 100%;height: 100px; margin-top:30px; background-color: #182f8f;overflow: hidden;}
	.footerbg .footer{line-height: 26px; margin-top: 30px; text-align: center; color: #fff; font-size: 14px;}	
	.footerbg .footer .ydbr{display: none;}
}

/*手机自适配*/
@media (min-width: 320px ) and (max-width: 640px) {
	/*公共样式,样式确定后就不能再增加或删除*/
	.auto{
		width: 11.25rem;
		margin: 0 auto;
	}	
	/*显示和隐藏导航*/
	.top{display: none;}
	.nav{display: none;}
	.ydnav{height: 56px; position: relative; display: block;}
	/*手机head*/
	.ydnav .ydlogo{width: 240px; height: 29px; margin-top: 14px; float: left;}
	.ydnav .ydlogo img{width: 240px; height: 29px;}
	/*手机下拉导航*/
	.ydnav .menu_h{
		float:right;
		width:0.75rem;
		height:22px;
		line-height:22px;
		margin: 17px 0 0;
		display: block;
		cursor: pointer;
	}
	.ydnav .lines,.lines:after,.lines:before {
		display: inline-block;
		width: 0.75rem;
		height: 4px;
		background-color:#000000;
	}
	.ydnav .lines {
		vertical-align: middle;
		margin: -3px 0 0 0;
		position: relative}

	.ydnav .lines:after,.lines:before {
		position: absolute;
		left: 0;
		content: '';
		-webkit-transform-origin: 1.5px center;
		transform-origin: 1.5px center;
	}
	.ydnav .lines:before {top: 9px;}
	.ydnav .lines:after {top: -9px}
	.ydnav .minnav	{
		width:120px;
		position:absolute;
		top:17px;
		right:50px;
		background-color:#fff;
		border-radius:2px;
		border:1px solid #ccc;
		display: none;
		z-index:99;
	}
	.ydnav .minnav ul li{border-bottom:1px solid #ccc;}
	.ydnav .minnav ul li a{
		display:block;
		height:30px;
		line-height:30px;
		font-size:14px; 
		color:#333;
		padding-left:10%;
	}
	.ydnav .minnav ul li.cur a,.minnav ul li a:hover{color:#dc0b0d;}

	/*网站版权*/
	.footerbg{width: 100%;height: 100px; margin-top:30px; background-color: #182f8f;overflow: hidden;}
	.footerbg .footer{line-height: 26px; margin-top: 13px; text-align: center; color: #fff; font-size: 0.2625rem;}	
	.footerbg .footer .ydbr{display: block;}

}

/*超小屏幕（手机，小于320px ） */
@media (max-width: 319px) {
	html{
		background: url("../images/minbg.png") no-repeat center;
		background-color: #333a32;
		min-height: 300px;
	}
	div{
		display: none;
	}
}
